<?php
session_start();

$code = $_POST['code'];
$code = strtolower($code);
$code = md5($code);

$vcode = $_SESSION['verify_code'];



if( $code == $vcode ) {
	$stat = 1;
	// $ret['msg']  = $code;
}else {
	$stat = 0;
	// $ret['msg']  = $code;
}


echo json_encode($stat);

